package com.library.evaluate.util;

import com.library.entity.Evaluate;

import java.util.ArrayList;
import java.util.List;

public class EvaluateListReturner {

	private List<EvaluateReturner> evaluates = new ArrayList<>();

	public EvaluateListReturner(List<Evaluate> evaluates) {
		if (evaluates == null) return;
		else {
			EvaluateReturner evaluateReturner;
			for(int i = 0;i < evaluates.size();++i){
				evaluateReturner = new EvaluateReturner(evaluates.get(i));
				this.evaluates.add(evaluateReturner);
			}
		}
	}

	public List<EvaluateReturner> getEvaluates() {
		return evaluates;
	}

	public void setEvaluates(List<EvaluateReturner> evaluates) {
		this.evaluates = evaluates;
	}
}
